<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar 
                    showPerson personType="PERSON_AAC031_1" psTagType="PERSON_AAB001_GROUP"
                    :datas="{formData: form,tableData:tableData,panel: panel}" isSearch>
            </epl-top-bar>
        <el-form :model="form" :rules="rules" ref="form">
            <el-card class="ep-card">
                <ep-title>人员身份合并</ep-title>
                <el-row>
                    <ep-table :data="tableData" border style="width: 100%;"   >
                        <ep-table-column editor="checkbox" width="55" header="保留" ></ep-table-column> 
                        <ep-table-column  sortable editor="text"   name="aaa027" header="辖区"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="aac147" header="身份证"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="aac003" header="姓名"></ep-table-column>
                        <ep-table-column sortable editor="text"  name="" header="养老"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="" header="医保"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="" header="失业"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="" header="工伤"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="" header="生育"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="aac066" header="参保身份"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="bac066" header="参保身份子类别"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="bab010" header="统一社会信用代码"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="aab069" header="单位名称"></ep-table-column>
                        <ep-table-column header="详细信息" width="100" editor="button">
                            <template slot-scope="scope">
                                <el-button type="text" size="mini" @click="deleteCurrentRow2(scope.row)">详细信息</el-button>
                            </template>
                        </ep-table-column>
                        <ep-table-column header="操作" width="100" editor="button">
                            <template slot-scope="scope">
                                <el-button type="text" size="mini" @click="deleteCurrentRow(scope.row)">删除</el-button>
                            </template>
                        </ep-table-column>
                    </ep-table>

                </el-row>
                  <div style="margin: 15px 0;"></div>
                <el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" top="20" type="primary" bottom="20" ref="save"   @formValidate="formValidate" 
                        :validate="['form']"
                                :datas="{panel:panel}" name="保存"></ep-saveButton>
                </el-row>
            </el-card>
            
            </el-form>
        </el-main>
    </el-main>
</template>


<script src="../js/PsMergeRepeatJS.js"></script>
